package com.kingdee.eas.custom.safety;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class SafeRuleFactory
{
    private SafeRuleFactory()
    {
    }
    public static com.kingdee.eas.custom.safety.ISafeRule getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeRule)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("209F641A") ,com.kingdee.eas.custom.safety.ISafeRule.class);
    }
    
    public static com.kingdee.eas.custom.safety.ISafeRule getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeRule)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("209F641A") ,com.kingdee.eas.custom.safety.ISafeRule.class, objectCtx);
    }
    public static com.kingdee.eas.custom.safety.ISafeRule getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeRule)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("209F641A"));
    }
    public static com.kingdee.eas.custom.safety.ISafeRule getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeRule)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("209F641A"));
    }
}